package com.cf.r1045;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;

public class a {

    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    static PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) throws IOException {
        int T = Integer.parseInt(br.readLine());
        while (T-- > 0) {
            solve();
        }
        out.flush();
        out.close();
        br.close();
    }

    static void solve() throws IOException {
        String[] in = br.readLine().split(" ");
        long n = Long.parseLong(in[0]);
        long a = Long.parseLong(in[1]);
        long b = Long.parseLong(in[2]);
        if (b >= a) {
            if (n % 2 == 0 && b % 2 == 0) {
                out.println("YES");
            } else if (n % 2 != 0 && b % 2 != 0) {
                out.println("YES");
            } else {
                out.println("NO");
            }
        } else {
            if (n % 2 == 0 && b % 2 == 0 && a % 2 == 0) {
                out.println("YES");
            } else if (n % 2 != 0 && b % 2 != 0 && a % 2 != 0) {
                out.println("YES");
            } else {
                out.println("NO");
            }
        }
    }
}
